<?php
//Sets the home page variable
$home = "index.php";

//Always place this code at the top of the Page
session_start();
if (!isset($_SESSION['id'])) {
    // Redirection to login page or facebook
    header("location: index.php");
}



?>